package cn.yoyo.service;

import cn.yoyo.entity.BookType;

import java.util.List;
import java.util.Map;

public interface BookTypeService {
    public int add(String type, Integer parentid, Integer priority);

    public int update(Integer id, String type, Integer priority);

    public List<Map<String, Object>> findAll();

    public BookType findById(Integer id);

    public int delete(Integer id);

    public int unlock(Integer id);
}
